package com.ning.activitys.skysound.adpter;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.BaseExpandableListAdapter;
import android.widget.ExpandableListAdapter;
import android.widget.ExpandableListView;
import android.widget.TextView;

import com.android.volley.toolbox.NetworkImageView;
import com.ning.activitys.skysound.R;
import com.ning.activitys.skysound.beans.GsonFindMusic;
import com.ning.activitys.skysound.volley.VolleySingleton;

/**
 * Created by dllo on 16/1/26.
 */
public class FindMusicListAdapter extends BaseExpandableListAdapter{

    private Context context;
    private GsonFindMusic gsonFindMusic;

    @Override
    public int getGroupCount() {
        return 0;
    }

    @Override
    public int getChildrenCount(int groupPosition) {
        return 0;
    }

    @Override
    public Object getGroup(int groupPosition) {
        return null;
    }

    @Override
    public Object getChild(int groupPosition, int childPosition) {
        return null;
    }

    @Override
    public long getGroupId(int groupPosition) {
        return 0;
    }

    @Override
    public long getChildId(int groupPosition, int childPosition) {
        return 0;
    }

    @Override
    public boolean hasStableIds() {
        return false;
    }

    @Override
    public View getGroupView(int groupPosition, boolean isExpanded, View convertView, ViewGroup parent) {
        return null;
    }

    @Override
    public View getChildView(int groupPosition, int childPosition, boolean isLastChild, View convertView, ViewGroup parent) {
        return null;
    }

    @Override
    public boolean isChildSelectable(int groupPosition, int childPosition) {
        return false;
    }


    class ViewHolder{
        private NetworkImageView singerImage;
        private TextView songName;
        private TextView singerName;

        public ViewHolder(View v){

            singerImage = (NetworkImageView) v.findViewById(R.id.iv_singer_image_net_music_item);
            songName = (TextView) v.findViewById(R.id.tv_music_title_net_music_item);
            singerName = (TextView) v.findViewById(R.id.tv_singer_name_net_music_item);
        }
    }
}
